const ui = {
  state: {
    isFullscreen: undefined,
    showLangList: undefined,
    showSubAccountList: undefined,
    showCoinPrice: undefined,
    ativeHomeTable: undefined,
  },
  mutations: {
    SET_IS_FULLSCREEN: (state, bool) => {
      state.isFullscreen = bool;
    },
    SET_SHOW_LANGLIST: (state, bool) => {
      state.showLangList = bool;
    },
    SET_SHOW_SUBACCOUNTLIST: (state, bool) => {
      state.showSubAccountList = bool;
    },
    SET_SHOW_COINPRICE: (state, bool) => {
      state.showCoinPrice = bool;
    },
    SET_ACTIVE_HOMETABLE: (state, name) => {
      state.ativeHomeTable = name;
    },
  },
};
export default ui;
